package com.guang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guang.domain.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Title: UserMapper
 * @Author liguang
 * @Package com.guang.mapper
 * @Date 2024/10/25 11:09
 * @description:
 */
//*注：这里面继承了mybatis-plus的BaseMapper接口，供后面进行分页查询使用。*
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    int deleteByPrimaryKey(Integer id);

    int insertAll(UserInfo record);

    void insertSelective(@Param("list") List<UserInfo> list);

    UserInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    Integer countNum();
}

